package com.mmall.dao;

import com.mmall.pojo.SkillCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SkillCategoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SkillCategory record);

    int insertSelective(SkillCategory record);

    SkillCategory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SkillCategory record);

    int updateByPrimaryKey(SkillCategory record);

    List<SkillCategory> selectUserIdSkill(Integer userId);

    int deleteSkillCategoryUserId(@Param(value = "userId") Integer userId, @Param(value = "skillCategoryId")  Integer skillCategoryId);
}